const defaultState = {
    num: 0,
    homeData: {},
    domesticCartList: [],
    overseasCartList: []
}

export function reducer(state = defaultState, action) {
    switch (action.type) {
        case "HOME_DATA":
            state.homeData = action.data
            break;
        case "DOM_ADD_CART":

            break;

        case "OVE_ADD_CART":
            break;

        case "DOM_MODIFY_NUM":
            break;

        case "OVE_MODIFY_NUM":
            break;

        case "DOM_IS_SELECT":
            break;

        case "OVE_IS_SELECT":
            break;

        case "DOM_ALL_SELECT":
            break;
            
        case "OVE_ALL_SELECT":
            break;
        default:
            break;
    }
    return { ...state };
}